package cn.wolfcode.crm.service;

import cn.wolfcode.crm.domain.SpendPoint;

import java.util.List;

public interface ISpendPointService {

    void saveOrUpdate(SpendPoint spendPoint);

    void delete(Long id);

    List<SpendPoint> selectAll();


    /**
     * 验证名称
     * @param id
     * @param name
     * @return
     */
    Boolean selectByName(Long id, String name);
}
